<?php
namespace app\common\validate\Business;

use think\Validate;

// 回访记录的验证器
class Visit extends Validate
{
    protected $rule =   [
        'content'  => ['require'] ,
        'busid' => ['require'],
        'adminid' => ['require']
    ];

    protected $message  =   [
        'content.require' => '回访内容必须填写', 
        'busid.require' => '客户id必须填写',
        'adminid' => '管理员id必须填写'
    ];
}
?>